package com.ruoyi.eqmonitor.service.impl;

import java.util.HashMap;
import java.util.List;
import java.util.Map;

import com.alibaba.fastjson.JSONObject;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import com.ruoyi.eqmonitor.domain.OptVideo;
import com.ruoyi.eqmonitor.mapper.OptVideoMapper;
import com.ruoyi.eqmonitor.service.IOptVideoService;
import com.ruoyi.eqmonitor.utils.LechangeHttpSend;
import io.lettuce.core.support.caching.RedisCache;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.cache.annotation.Cacheable;
import org.springframework.stereotype.Service;



/**
 * 摄像头信息Service业务层处理
 * 
 * @author ruoyi
 * @date 2022-12-06
 */
@Service
public class OptVideoServiceImpl extends ServiceImpl<OptVideoMapper, OptVideo> implements IOptVideoService {
    
    @Autowired
    private OptVideoMapper optVideoMapper;

//    @Autowired
//    private RedisCache<String,String> redisCache;

    @Override
    public OptVideo selectOptVideoById(Long id){
        return optVideoMapper.selectOptVideoById(id);
    }
      
    @Override
    public List<OptVideo> selectOptVideoList(OptVideo optVideo){
        return optVideoMapper.selectOptVideoList(optVideo);
    }

}
